﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="UTF-8">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="{PE.Label id="取得META信息" siteConfig="true" metaType="keywords" /}" name="Keywords" />
<meta content="{PE.Label id="取得META信息" siteConfig="true" metaType="description" /}" name="Description"/>
<title>专题列表页-{PE.SiteConfig.SiteName /}</title>
<link href="{PE.SiteConfig.SkinPath/}default.css" rel="stylesheet" type="text/css" />
<link href="{PE.SiteConfig.SkinPath/}special.css" rel="stylesheet" type="text/css" />
<link href="{PE.SiteConfig.SkinPath/}common.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="{PE.SiteConfig.ApplicationPath/}JS/Common.js"></script>
<script language="javascript" type="text/javascript" src="{PE.SiteConfig.ApplicationPath/}JS/slider.js"></script>
<script language="javascript" type="text/javascript" src="{PE.SiteConfig.SkinPath/}js/tab.js"></script>
<script language="javascript" type="text/javascript">
    function redirecturl(url)
    {
        location=url;
    }
    </script>
</head>
<body>
{PE.Label id="商城网站顶部(首页)" /}
<div id="center_all" class="main">
  <div id="main_bg">
    <div id="main_right">
      <div id="main_right_box">
        <!-- 网站位置导航信息开始 -->
        <div class="navigation">
          您现在的位置：<a href="{PE.SiteConfig.sitepath/}">{PE.SiteConfig.SiteName /}</a>>>{PE.Label id="取得专题类别配置信息" specialCategoryID="@RequestInt_Id" /}</div>
        <!-- 网站位置导航信息结束 -->
        {PE.Label id="右侧广告一" /}
        <div class="c_spacing"> </div>
		<div class="Specialcategory">
        <!-- 右侧二列开始 -->
        <div id="r_main">
          <div class="r_content">
            <dl>
              <dt>本栏推荐</dt>
              <dd>
                <ul>
                  {PE.Label id="通用信息列表" bindStyle="普通式" titleLength="25" outputQty="14" eliteLevel="20" /}
                </ul>
              </dd>
            </dl>
          </div>
          <div class="c_spacing"> </div>
          <div class="r_content">
            <dl>
              <dt>点击排行</dt>
              <dd>
                <ul>
                 {PE.Label id="通用信息列表" bindStyle="普通式" titleLength="25" outputQty="14" itemListOrderType="5" /}
                </ul>
              </dd>
            </dl>
          </div>
        </div>
          <!-- 专题栏目信息一列式信息列表开始 -->
		{PE.DataSource id="categorylist" datasource="专题类别下的专题_数据源 " specialCategoryId="@RequestInt_id" xslt="true" /}
        <div class="c_main_box">
          <div class="class_title">{PE.Label id="取得专题类别配置信息" specialCategoryID="@RequestInt_Id" /}下的专题列表</div>
          <div class="class_content"> 
		  <ul class="specialList">
		  {PE.Repeat id="categorylist" loop="10"}

                <li>{PE.Field id="categorylist" fieldname="SpecialPath" /}</li>

            {/PE.Repeat} 
			<ul>
			</div>
          <div class="class_bot"> </div>
        </div>
          <!-- 专题栏目信息一列式信息列表结束 -->
		</div>
        <div class="c_spacing"> </div>
          <div class="main_search">
              专题搜索：<span id="specialIdDiv"></span><select name="fieldOption" id="fieldOption" size="1"><option
                  value="title" selected>标题</option>
                  <option value="inputer">录入者</option>
                  <option value="keyword">关键字</option>
              </select><input id="keyword" onfocus="this.value='';" maxlength="100" size="30" value="填写您想搜索的关键词"
                  name="Keyword" />
              <input name="searchtype" type="hidden" id="searchtype" value="3" />
              <input id="Submit" style="border: 0px; width: 65px; height: 21px;" type="image" src="{PE.SiteConfig.SkinPath/}Images/search_b.gif"
                  name="Submit" onclick="SearchCheckAndSubmit();" />
          </div>
        <div class="c_spacing"> </div>
          <div class="clearbox">
          </div>
        <!-- 最新图片文章开始 -->
        <div class="c_main_one">
          <dl>
            <dt class="c_title">
              <div class="more"> </div>
              <a href="#">最新图文</a></dt>
            <dd class="c_content">
              <!-- 显示8张最新图片文章 -->
              <div class="special_photo_list"> {PE.Label id="内容带图片的信息列表" bindStyle="普通式" titleLength="24" outputQty="8" nodes="1" /}
                <div class="clearbox"></div>
              </div>
            </dd>
          </dl>
        </div>
        <!-- 最新图片文章结束 -->
      </div>
    </div>
    {PE.Label id="网站首页左侧" /} </div>
</div>
    <script language="javascript" type="text/javascript">
        var x = new AjaxRequest('XML', 'specialSearch');
        x.labelname = "专题下拉列表选项";
        x.para = ['specialCategoryId=@RequestInt_id'];
        x.paratype = ['nohtml', 'nohtml', 'nohtml']
        x.post('updatelabel', '{PE.SiteConfig.applicationpath/}ajax.aspx', function(s) {
            var xml = x.createXmlDom(s);
            if (xml.getElementsByTagName("body")[0].firstChild) { 
            document.getElementById('specialIdDiv').innerHTML = xml.getElementsByTagName("body")[0].firstChild.data;
            }
        });

        function SearchCheckAndSubmit() {
            var keyword = document.getElementById("keyword").value;
            var fieldOptionSel = document.getElementById("fieldOption");
            var fieldOption = fieldOptionSel.options[fieldOptionSel.options.selectedIndex].value;
            var specialSel = document.getElementById("specialId");
            if (specialSel == '' || specialSel == null) {
                alert("该专题类别下还没有专题！");
            }
            if (specialSel == null) {
                return;
            }
            var specialId = specialSel.options[specialSel.options.selectedIndex].value;
            if (keyword == '' || keyword == null) {
                alert("请填写您想搜索的关键词");
                return;
            }
            else {
                window.location = "{PE.SiteConfig.applicationpath/}search.aspx?searchtype=3&Keyword=" + escape(keyword) + "&fieldOption=" + fieldOption + "&specialId=" + escape(specialId);
            }
        }
    </script>
{PE.Label id="商城网站底部" /}
</body>
</html>
